package com.stox.shared.core.util;

import java.util.Calendar;

public class DateUtil {

	public static boolean isWeekend(Calendar calendar){
		return Calendar.SUNDAY == calendar.get(Calendar.DAY_OF_WEEK) || 
				Calendar.SATURDAY == calendar.get(Calendar.DAY_OF_WEEK);
	}
	
}
